/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package facade;

import entities.Material;
import entities.Product;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Andrés Felipe
 */
public interface ProductFacadeRemote {

    void create(Product product);

    void edit(Product product);

    void remove(Product product);
    
    void refresh(Product product);
    
    void flush();

    Product find(Object id);

    List<Product> findAll();

    List<Product> findRange(int[] range);

    int count();
    
    List<List<String>> getProductsInformation(int pymeIdentification, int toSell);
    
    void editDataMaster (int idProduct, String dataMaster);
    
     void addProduct(String nombre, String dataMaster, double price, double quantity, double capacity, Date productionAbleDate, double productionTime, int toSell, int pymeIdentification , Material typematerial);
    
    
}
